package org.springblade.modules.repair.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zcc
 * @version 1.0
 * @date 2021/5/22 10:07
 */
@Getter
@AllArgsConstructor
public enum DateSearchEnum {

	/**
	 * 对应数据库表里面的type_status字段
	 */
	CUSTOM(0, "自定义"),
	TODAY(1, "今日"),
	WEEK(2, "周"),
	MONTH(3, "月"),
	YEAR(4, "年");
	final Integer value;
	final String name;
}
